The movie controller component supplied by Apple allows your application to distinguish movies from static graphics in documents by the use of a badge. A badge is a visual element that the movie controller can display as part of a movie when the other controls are not visible and the movie is not playing. Figure 2-2 shows a movie with a badge.
The badge lets the user know that the image represents a movie rather than a static image. A badge appears under the following conditions:
When the user double-clicks the movie, the movie starts playing and the badge disappears; a single click stops the movie, and the badge reappears. When the user clicks the badge itself, the movie controller component displays the controls, as shown in Figure 2-1 .
Your application can control whether the movie controller component displays a badge with a movie. Use the NewMovieController function (described on NewMovieController ) to create a new controller.